package com.cy.personer.biz;

import com.cy.personer.bean.Desk;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface DeskBiz {
    List<Desk> getDesks(Desk desk);
    public List<Desk> findAllDesk();//查询所有科室
    /**
     * 科室增删改
     * @author whl
     */
    public   boolean add(Desk desk);
    public  boolean update(Desk desk);
    public  boolean del(int deskId);
    public PageInfo<Desk> findDesk(Integer pageNum);//查询所有科室
}
